package com.zhilianbao.leyaogo.ui.adapter.home.applista;

import com.zhilianbao.leyaogo.model.response.category.GoodsInfo;
import com.zhilianbao.leyaogo.model.response.home.BaseHomeData;

import java.util.List;

/**
 * ClassName: HomeAppListAOne <br>
 * Description: <br>
 * Author: Cyarie <br>
 * Created: 2016/12/28 11:45 <br>
 * Update Time：<br>
 * Update Description：<br>
 */
public class HomeAppListAOne extends BaseHomeData {
    /**
     * data : {"type":0,"title":"单品","showNumber":3,"list":[{"goodsId":34,"supplierId":1237,"mPrice":240,"isHot":0,"goodsFullName":"组合商品","unit":"i","stockType":0,"price":0,"enshrineNumber":1,"goodsPic":"fb65a3381a212758886cc05584d1dc32.jpg","stockNumber":1,"shopId":1238,"stockStatus":0,"voucherNumber":0,"goodsDesc":"组合商品","saleNumber":0,"goodsName":"组合商品","goodsType":2}]}
     */

    private HomeAppListAOneData data;

    public HomeAppListAOneData getData() {
        return data;
    }

    public void setData(HomeAppListAOneData data) {
        this.data = data;
    }

    public static class HomeAppListAOneData extends BaseHomeAppListA {

        private String name;

        private long id;

        private List<GoodsInfo> list;


        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public List<GoodsInfo> getList() {
            return list;
        }

        public void setList(List<GoodsInfo> list) {
            this.list = list;
        }
    }
}
